﻿using System.Collections.Generic;
using Calimbra.Runtime.Contracts;

namespace Calimbra.Runtime.Functions
{
    public class Add_stream
    {
        private IList<IStream> streams;

        public void Process(IStream stream)
        {
            streams.Add(stream);
        }

        public void Inject(IList<IStream> dependentStreams)
        {
            streams = dependentStreams;
        }
    }
}